package com.jacobson.huobi.di.modules

import com.jacobson.core.di.annotation.ActivityScope
import com.jacobson.core.widget.storage.GlobalStorage
import com.jacobson.huobi.Constants
import com.jacobson.huobi.components.toptab.TabsData
import com.jacobson.huobi.entities.AlarmInfo
import com.jacobson.huobi.entities.SymbolInfo
import com.jacobson.huobi.mvp.contract.SymbolContract
import com.jacobson.huobi.mvp.contract.VipContract
import com.jacobson.huobi.mvp.model.SymbolModel
import com.jacobson.huobi.mvp.model.VipModel
import com.jacobson.huobi.mvp.presenter.SymbolPresenter
import com.jacobson.huobi.mvp.presenter.VipPresenter
import dagger.Module
import dagger.Provides

@Module
class VipFragmentModule(
    private val view: VipContract.View
) {
    @Provides
    @ActivityScope
    fun provideView() = view

    @Provides
    @ActivityScope
    fun providePresenter(presenter: VipPresenter): VipContract.Presenter = presenter

    @Provides
    @ActivityScope
    fun provideModel(model: VipModel): VipContract.Model = model

}